#ifndef WRITETHREAD_H
#define WRITETHREAD_H

#include <QFile>
#include <QMutex>
#include <QThread>
#include <QMutexLocker>

class WriteThread : public QThread
{
    Q_OBJECT
public:
    WriteThread();
    virtual void run();
private:
    QMutex mutex;
    QFile file;
};

#endif // WRITETHREAD_H
